package com.nt.train.service.impl;

import com.nt.train.dto.Member;
import com.nt.train.service.Strategy;
import org.springframework.stereotype.Service;

import java.math.BigDecimal;

/**
 * 普通用户
 * @author hlf
 * @version 1.0
 * @date 2022/8/5 9:19
 */
@Service("generalMember")
public class GeneralMember  implements Strategy {

    @Override
    public BigDecimal calculatePrice(Member member) {
        return new BigDecimal("100");
    }
}
